<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>wMail</title>
    <script src="http://wave-api.appspot.com/public/embed.js" type="text/javascript"></script>
    <script type="text/javascript">
    function initialize() {
      var wavePanel = new WavePanel('https://wave.google.com/a/wavesandbox.com/');
      wavePanel.loadWave('<%=request.getParameter("id")%>');
      //wavePanel.loadWave('wavesandbox.com!w+yTdIYlr8%A');
      wavePanel.init(document.getElementById('waveframe'));
    }
    </script>
    <style type="text/css"> 
        body {
  			background: #A32329;
		}
		h1 {
			margin-top: 25px;
			text-align: center;
			color: white;
		}
		div {
			margin: auto auto;
			width: 600px;
			height: 500px;
		}
	</style>
</head>
<body onload="initialize()">
	<h1>wMail</h1>
	<div id="waveframe"></div>
</body>
</html>